package org.vehicle.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.vehicle.dao.TempPersonInfoMapper;
import org.vehicle.entity.TempPersonInfo;
import org.vehicle.service.TempPersonInfoService;
import org.vehicle.service.base.BaseServiceImpl;

@Service
public class TempPersonInfoServiceImpl extends BaseServiceImpl<TempPersonInfo, Long> implements TempPersonInfoService{
	@Autowired
	private TempPersonInfoMapper tempPersonInfoMapper;
	
	@Override
	public List<TempPersonInfo> findAllTempPersonInfo() {
		
		return tempPersonInfoMapper.findAllTempPersonInfo();
	}
	
	@Override
	public TempPersonInfo findTempPersonByCertificateCodeAndDeviceCode(Map<String, Object> paraMap){
		
		return tempPersonInfoMapper.findTempPersonByCertificateCodeAndDeviceCode(paraMap);
	}

	@Override
	public List<Map<String, Object>> findPersonFaceDataListByDeviceCode(String deviceCode) {
		
		return tempPersonInfoMapper.findPersonFaceDataListByDeviceCode(deviceCode);
	}
}